package com.xquant.marketdata.marketdata.mapper;

import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author ershuai.zhao
 */
@Repository
public interface CompMapper {
    /**
     * @param map
     * @method
     * @desc 查询
     */
    List<Map> queryCompByPage(Map map);
    List<Map> queryCompByList(Map map);
    int queryCompCountByCompName(Map map);

    List<Map> queryCompRatingByPage(Map map);

    int queryCompRatingPre(Map map);
    int queryCompRating(Map map);

    int updateCompRating(Map map);

    int insertCompRating(Map map);
    int deleteCompRating(Map map);


    void saveComp(Map<String, Object> params);

    void updateComp(Map<String, Object> params);

    void deleteComp(Map<String, Object> params);

 }
